<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<%@ taglib prefix="form" uri="http://www.springframework.org/tags/form"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<title>Insert title here</title>
</head>
<body>
	<h3>修改教研室级单位</h3>
	<c:url var="action" value="/department/update.html"></c:url>
	<form:form modelAttribute="department" action="${action}" method="post">
		<table>
			<tr>
				<td><form:hidden path="id" /></td>
			</tr>
			<tr>
				<td>编号：</td>
				<td><form:input path="no" /></td>
			</tr>
			<tr>
				<td>描述：</td>
				<td><form:input path="description" /></td>
			</tr>
			<tr>
				<td>学院：</td>
				<td><form:select path="school.id">
						<form:options items="${schoolList}" itemValue="id"
							itemLabel="description" />
					</form:select></td>
			</tr>
			<tr>
				<td><input type="submit" value="update"></td>
			</tr>
		</table>
	</form:form>
</body>
</html>